package com.cj.service;

import com.cj.po.PageInfo;
import com.cj.po.Dormitory;

import java.util.List;

public interface DormitoryService {


    PageInfo<Dormitory> findPageInfo(Integer s_dormitoryid, String d_dormbuilding, String d_bedtotal,String d_bed, String a_name, Integer pageIndex, Integer pageSize);

    List<Dormitory> getAll();

    int deleteDormitory(Integer d_id);

    int addDormitory(Dormitory dormitory);

    int updateDormitory(Dormitory dormitory);

    Dormitory findDormitoryById(Integer d_id);

}
